import request from '@/utils/request'

// 查询lakk_tiku列表
export function listQuestionBank(query) {
  return request({
    url: '/lakk/QuestionBank/list',
    method: 'get',
    params: query
  })
}

// 查询lakk_tiku详细
export function getQuestionBank(questionnumber) {
  return request({
    url: '/lakk/QuestionBank/' + questionnumber,
    method: 'get'
  })
}

// 新增lakk_tiku
export function addQuestionBank(data) {
  return request({
    url: '/lakk/QuestionBank',
    method: 'post',
    data: data
  })
}

// 修改lakk_tiku
export function updateQuestionBank(data) {
  return request({
    url: '/lakk/QuestionBank',
    method: 'put',
    data: data
  })
}

// 删除lakk_tiku
export function delQuestionBank(questionnumber) {
  return request({
    url: '/lakk/QuestionBank/' + questionnumber,
    method: 'delete'
  })
}
